/**
 * 功能描述 卡片
 */

define(function (require, exports, module) {
	var Component = require("form");
	
    var instance = {
        initComponent : function (params, widget) {
            var component = new Component({
            	 parentNode: ".J-waterform",
            	 show : false,
                 model: {
                     id: "form",
                     defaultButton : false,
                     layout: "3_1",
                     items: [{
                    	 name : "reserveDate",
                         type : "date",
                         label : "预约日期",
                         mode:"YYYY-MM-DD",
                         readonly : true,
                     },{
                    	 name : "destinationName",
                         type : "text",
                         label : "组团单位",
                         readonly : true,
                     },{
                        name : "allianceOrgName",
                        type : "text",
                        label : "目的地",
                        readonly : true,
                     },{
                     	name : "checkInDate",
                     	type : "date",
                        label : "入住日期",
                        mode:"YYYY-MM-DD",
                        readonly : true,
                     },{
                    	 name : "checkOutDate",
                         type : "date",
                         label : "退住日期",
                         mode:"YYYY-MM-DD",
                         readonly : true,
                     },{
                    	 name : "roomNum",
                         type : "text",
                         label : "房间数",
                         readonly : true,
                     },{
                    	 name : "description",
                         type : "text",
                         label : "备注",
                         readonly : true,
                     }]
                 }
            });
            widget.set("form", component);
        }
    };
    module.exports = instance;
});
